-- GENERATED SPELL FOR [Unbound Dryad] --


function spell0_30860(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30860', 603, 1)
end

function spell1_30860(pUnit, Event) --@Throw Spear,n/a--
pUnit:FullCastSpellOnTarget(55217,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30860', 570, 1)
end

function Sorts_30860(pUnit, Event)
local choix_sorts_30860 = math.random(0, 1)
if choix_sorts_30860 == 0 then
pUnit:RegisterEvent('spell0_30860', 1, 1)
end
if choix_sorts_30860 == 1 then
pUnit:RegisterEvent('spell1_30860', 1, 1)
end
end

function mob30860_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30860', math.random(1500, 3000), 1)
end

function mob30860_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30860_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30860_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30860, 1, 'mob30860_Action')
RegisterUnitEvent(30860, 2, 'mob30860_Leave')
RegisterUnitEvent(30860, 3, 'mob30860_Kill')
RegisterUnitEvent(30860, 4, 'mob30860_Die')
